package com.sst.missed.phone;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.CountDownTimer;

public class SplashScreen extends Activity {
	/** Called when the activity is first created. */
	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.splash);

		CountDownTimer timer = new CountDownTimer(1000, 1000) {
			@Override
			public void onFinish() {
				startActivity(new Intent(SplashScreen.this,
						IMissedMyPhoneActivity.class));
			}
			@Override
			public void onTick(long arg0) {
				// TODO Auto-generated method stub
			}
		};
		timer.start();
	}

	@Override
	protected void onPause() {
		// TODO Auto-generated method stub
		super.onPause();
		finish();
	}
}